Redo focus handling
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Mar 2019 05:54:56 +0000 (00:54 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Mar 2019 01:24:44 +0000 (21:24 -0400)
commit92f1bdcf45dbb87ad9a537879bd5c5eae59964e7
tree43d50ddb50932c4e3cffa4095defc36fd073542d
parent64b9114d98cf9bf985e93b71e0f4ed8f67547be7
Redo focus handling

GtkWindow has a focus_widget that points to the current input focus.
GtkWidget has a focus_child that points to the child that contains
the input focus. Following the focus_child chain from the toplevel
always leads to the focus_widget. We never unset focus_child, we only
set it. We bubble focus change events.
gtk/gtkwidget.c
gtk/gtkwindow.c